﻿using System.Collections.Generic;
using System.Web.Mvc;
using Logistics.Web.Models.Common;
using Nop.Web.Framework.Mvc;

namespace Logistics.Web.Models.Shipment
{
    public class ChangeAddressModel : BaseNopModel
    {
        public ChangeAddressModel()
        {
            Addresses = new List<SelectListItem>();
            AvailableStateProvinces = new List<SelectListItem>();
        }
        public int PackageId { get; set; }
        public int ShipmentId { get; set; }
        public int SelectedAddressId { get; set; }
        public int SelectedStateProvinceId { get; set; }
        public int TypeId { get; set; }
        public AddressModel Address { get; set; }
        public List<SelectListItem> Addresses { get; set; }
        public List<SelectListItem> AvailableStateProvinces { get; set; }
        public bool CanSetSignatureRequirement { get; set; }
        public bool IsSignatureRequired { get; set; }
        public bool IsAddressTypeVerified { get; set; }
        public string AddressTypeStr { get; set; }
        public bool Success { get; set; }
        public bool Disallowed { get; set; }
        public bool IsPaymentRequired { get; set; }
    }


    public enum ChangeAddressType : int
    {
        Pickup = 1,
        Delivery = 2
    }
}